package com.qinglei.recoup.system.pojo.event;

import com.qinglei.recoup.system.pojo.EventLogDTO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class EventLogEvent extends ApplicationEvent {
    private EventLogDTO eventData;

    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     */
    public EventLogEvent(EventLogDTO source) {
        super(source);
        this.eventData = source;
    }
}
